const component = [
  {
    name: '基础',
    children: [
      {
        name: 'Icon 图标',
        path: '/icon',
      },
      {
        name: 'Icons 常用图标',
        path: '/icons',
        component: () => import('$exp/components/Icon.vue'),
      },
      {
        name: 'Typography 文字',
        path: '/typography',
      },
    ],
  },
  {
    name: '布局',
    children: [
      {
        name: 'Collapse 折叠面板',
        path: '/collapse',
      },
      {
        name: 'Step 分页布局',
        path: '/step',
      },
      {
        name: 'Tabs布局',
        path: '/tabs',
      },
      {
        name: 'Divider 分割线',
        path: '/divider',
      },
    ],
  },
  {
    name: '表单',
    children: [
      {
        name: 'Autocomplete 输入建议',
        path: '/autocomplete',
      },
      {
        name: 'Cascader 级联',
        path: '/cascader',
      },
      {
        name: 'Dictionary 数据字典',
        path: '/dictionary',
      },
      {
        name: 'Input 输入框',
        path: '/input',
      },
      {
        name: 'Radio 单选框',
        path: '/radio',
      },
      {
        name: 'Checkbox 复选框',
        path: '/checkbox',
      },
      {
        name: 'Select 下拉框',
        path: '/select',
      },
      {
        name: 'Date 日期',
        icon: 'date',
        path: '/date',
      },
      {
        name: 'Time 时间',
        path: '/time',
      },
      {
        name: 'Editor 富文本',
        path: '/editor',
      },
      {
        name: 'Attachment 附件',
        path: '/attachment',
      },
      {
        name: 'Duration 时长',
        path: '/duration',
      },
      {
        name: 'Switch 开关',
        path: '/switch',
      },
      {
        name: 'Tag 标签',
        path: '/tag',
      },
      {
        name: 'Form 表单',
        path: '/form',
      },
      {
        name: 'Online 在线表单',
        path: '/online',
      },
    ],
  },
  {
    name: '数据',
    children: [
      {
        name: 'Table 表格',
        path: '/table',
      },
      {
        name: 'Table 更多表格',
        path: '/table2',
      },
      {
        name: 'Tree 树',
        path: '/tree',
      },
      {
        name: 'Preview 在线预览',
        path: '/preview',
      },
      {
        name: 'Chart 图表',
        path: '/chart',
      },
      {
        name: 'DataView 表单列表',
        path: '/dataView',
      },
      {
        name: 'DataViewEditor 表单列表编辑页',
        path: '/templateForm',
      },
      {
        name: 'RelevantFlow 相关流程',
        path: '/relevantFlow',
      },
      {
        name: 'Milepost 里程碑',
        path: '/milepost',
      },
    ],
  },
  {
    name: '其他',
    children: [
      {
        name: 'AvatarImage 头像',
        path: '/avatar',
      },
      {
        name: 'Button 按钮',
        path: '/button',
      },
      {
        name: 'Dialog 对话框',
        path: '/dialog',
      },
      {
        name: 'Image 背景图片',
        path: '/image',
      },
      {
        name: 'Picture 图片',
        path: '/picture',
      },
      {
        name: 'Map 地图',
        path: '/map',
      },
      {
        name: 'Qrcode 二维码',
        path: '/qrcode',
      },
      {
        name: 'Rate 评分',
        path: '/rate',
      },
      {
        name: 'Slider 滑块',
        path: '/slider',
      },
    ],
  },
  {
    name: '特性',
    children: [
      {
        name: 'Global 国际化',
        path: '/i18n',
      },
      {
        name: 'Validation 校验',
        path: '/validation',
      },
      {
        name: 'Calc 计算公式',
        path: '/math',
      },
      {
        name: 'Linkage 联动',
        path: '/linkage',
      },
      {
        name: 'Directive 指令',
        path: '/directive',
      },
      {
        name: 'Tools 工具方法',
        path: '/tools',
      },
    ],
  },
]

const guide = [
  {
    name: '开发指南',
    children: [
      {
        name: '安装',
        path: '/installation',
      },
      {
        name: '开发注意事项',
        path: '/standard',
      },
    ],
  },
]

export default { guide, component }
